import request from '@/utils/request'
import API from './constants'

// 请求详情页数据
export const getDetail = (id = 0) => request({
  url: API.DETAIL_API,
  params: {
    id,
  },
})
